package co.com.smart.eagle.persistence.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import co.com.smart.eagle.entities.EagleSecurityResources;
import co.com.smart.eagle.persistence.entity.util.AbstractFacade;

/**
 * Session Bean implementation class ResourcesFacade
 */
@Stateless(mappedName = "ejb/ResourcesFacade")
public class ResourcesFacade extends AbstractFacade<EagleSecurityResources> implements ResourcesFacadeLocal {

	@PersistenceContext(unitName = "SmartEaglePU")
	private EntityManager em;  
    /**
     * Default constructor. 
     */
    public ResourcesFacade() {
    	super(EagleSecurityResources.class);
    }

	@Override
	protected EntityManager getEntityManager() {
		return em;
	}
       

}
